<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <meta http-equiv="Expires" CONTENT="0">
    <meta http-equiv="Cache-Control" CONTENT="no-cache">
    <meta http-equiv="Pragma" CONTENT="no-cache">
    <meta name="renderer" content="webkit" />
    <title>${site.siteName!} - ${site.title!}</title>
    <meta name="keywords" content="${site.keywords!}" />
    <meta name="description" content="${site.description!}"  />
    <link href="/default/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="/default/css/icon.css" rel="stylesheet" type="text/css" />
    <link href="/default/css/common.css" rel="stylesheet" type="text/css" />
    <link href="/default/css/link.css" rel="stylesheet" type="text/css" />
    <script src="/default/js/jquery.min.js"></script>
    <script src="/vendors/layer/layer.js" type="text/javascript"></script>
    <script src="/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/default/js/modules/common.js" ></script>
</head>
<noscript unselectable="on" id="noscript">
    <div class="aw-404 aw-404-wrap container">
        <img src="/default/common/no-js.jpg">
        <p>你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!</p>
    </div>
</noscript><body>
[#include "pc/default/common/header.html"/]
<div class="aw-container-wrap">
    <div class="container">
        <!--<div class="container category">
            <div class="row">
                <div class="col-sm-12">
                    <ul class="list">
                        <li class="active"><a href="#">全部</a></li>

                        <li>
                            <a href="#">建站运营</a>
                        </li>
                        <li>
                            <a href="#">公告</a>
                        </li>
                        <li>
                            <a href="#">建议</a>
                        </li>
                        <li>
                            <a href="#">WeCenter 程序</a>
                        </li>
                        <li>
                            <a href="#" target="_blank">咨询广场</a>
                        </li>
                        <li>
                            <a href="#" target="_blank">应用市场</a>
                        </li>
                        <li>
                            <a href="#">问与答</a>
                        </li>
                        <li>
                            <a href="#" target="_blank">案例展示</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>-->
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="col-sm-12 col-md-9 aw-main-content">
                    <!-- 新消息通知 -->
                    <div class="aw-mod aw-notification-box collapse" id="index_notification">
                        <div class="mod-head common-head">
                            <h2>
                                <span class="pull-right"><a href="#" class="text-color-999"><i class="icon icon-setting"></i> 通知设置</a></span>
                                <i class="icon icon-bell"></i>新通知<em class="badge badge-important" name="notification_unread_num">0</em>
                            </h2>
                        </div>
                        <div class="mod-body">
                            <ul id="notification_list"></ul>
                        </div>
                        <div class="mod-footer clearfix">
                            <a href="javascript:;" class="pull-left btn btn-mini btn-gray">我知道了</a>
                            <a href="#" class="pull-right btn btn-mini btn-success">查看所有</a>
                        </div>
                    </div>
                    <!-- end 新消息通知 -->
                    <!-- tab切换 -->
                    <ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
                        <li class="active"><a href="/recommend/index">推荐</a></li>
                        <li><a href="/topic-hot/index" id="sort_control_hot">热门</a></li>
                        <li><a href="/topic/index">最新</a></li>
                        <h2 class="hidden-xs"><i class="icon icon-list"></i> 推荐</h2>
                    </ul>
                    <!-- end tab切换 -->

                    <div class="aw-mod aw-explore-list">
                        <div class="mod-body">
                            <div class="aw-common-list">
                                [@fly_topic method="recommend" tj="1" status="2" audit="0"  p='${p?string!}']
                                [#list recommend.list as list]
                                [@fly_user method="user" id = list.userId]
                                <div class="aw-item article">
                                    <a class="aw-user-name hidden-xs" href="/u/${user.shortUrl!}" rel="nofollow"><img src="[#if user.avatar??]${user.avatar!}[#else]/images/avatar_boy.jpg[/#if]" alt="${user.nickname!}"></a>
                                    <div class="aw-question-content">
                                        <h4>
                                            <a href="/topic/${list.id!}/">${list.title!}</a>
                                        </h4>
                                        <p>
                                            [#if list.columnId!=0]
                                            [@fly_topic method="columninfo" id=list.columnId]
                                            <a href="/group/${list.groupId}/column/${list.columnId}" class="aw-question-tags">${columninfo.columnName}</a>
                                            [/@fly_topic]
                                            [#else]
                                            <a href="/group/${list.groupId}/column/0" class="aw-question-tags">默认分类</a>
                                            [/#if]
                                            •<!--<a href="#" class="aw-user-name">三叔</a>--> <span class="text-color-999">发表了文章 • ${list.countComment!} 个评论 • ${list.countView!} 次浏览 • [@time_format time=list.createTime?string("yyyy-MM-dd HH:mm:ss")!/]</span>
                                            <span class="text-color-999 related-topic collapse"> • 来自相关话题</span>
                                        </p>
                                        <!-- 文章内容调用 -->
                                        <div style="cursor: pointer;">
                                            [@text_cut s=list.content! len=130 append='...'/]<a class="more" href="/topic/${list.id!}/">查看全部</a>
                                        </div>
                                        <!-- end 文章内容调用 -->
                                    </div>
                                </div>
                                [/@fly_user]
                                [/#list]
                                [/@fly_topic]
                            </div>
                        </div>
                        <div class="mod-footer">
                            <div class="page-control">
                                [#include "pc/default/common/pageBar.html"/]
                                [@pageBar currentPage=recommend.pageNum totalRow=recommend.total pageSize=recommend.pageSize actionUrl="/recommend/index" urlParas=""/]
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 侧边栏 -->
                <div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
                    <!--侧边栏插件-->
                    <div class="aw-mod aw-text-align-justify">
                        <div class="mod-head">
                            <a href="/t/label-index" class="pull-right">更多 &gt;</a>
                            <h3>热门标签</h3>
                        </div>
                        <div class="mod-body">
                            [@fly_label method="paginate" sort="id" order="desc" pageSize="10"]
                            [#list paginate.list as list]
                            <dl>
                                <dt class="pull-left aw-border-radius-5">
                                    <a href="/t/${list.shortUrl!}/"><img alt="" src="[#if list.labelPic??]${list.labelPic!}[#else]/default/common/topic-mid-img.png[/#if]"></a>
                                </dt>
                                <dd class="pull-left">
                                    <p class="clearfix">
                                        <span class="topic-tag">
                                            <a href="/t/${list.shortUrl!}/" class="text" data-id="5">${list.title!}</a>
                                        </span>
                                    </p>
                                    <p><b>${list.countTopic!}</b> 个话题, <b>${list.countFollow!}</b> 人关注</p>
                                </dd>
                            </dl>
                            [/#list]
                            [/@fly_label]
                        </div>
                    </div>
                    <div class="aw-mod aw-text-align-justify">
                        <div class="mod-head">
                            <a href="/people-rank" class="pull-right">更多 &gt;</a>
                            <h3>热门用户</h3>
                        </div>
                        <div class="mod-body">
                            [@fly_user method="paginate"]
                            [#list paginate.list as list]
                            <dl>
                                <dt class="pull-left aw-border-radius-5">
                                    <a href="/u/${list.shortUrl}"><img src="[#if list.avatar??]${list.avatar!}[#else]/default/common//avatar-mid-img.png[/#if]" alt="${list.nickname}"></a>
                                </dt>
                                <dd class="pull-left">
                                    <a href="/u/${list.shortUrl}" class="aw-user-name">${list.nickname}</a>
                                    <p class="signature"></p>
                                    <p><b>${list.countFans!}</b> 个粉丝, <b>${list.countFollow!}</b> 个关注</p>
                                </dd>
                            </dl>
                            [/#list]
                            [/@fly_user]
                        </div>
                    </div>
                </div>
                <!-- end 侧边栏 -->
            </div>
        </div>
    </div>
</div>
[#include "pc/default/common/footer.html"/]
<script type="text/javascript" src="/default/js/modules/statistics.js"></script>
</body>
</html>